<template>
    <div class="title">
        <i></i>
        <span>
            <slot></slot>
        </span>
    </div>
</template>

<style lang="scss">
@import '../static/style/variable.scss';
.title {
    height: 1.2667rem;
    line-height: 1.2667rem;
    background-color: #FCFCFD;
    position: relative;
    padding-left: .3333rem;

    i {
        position: absolute;
        left: 0px;
        top: ((1.2667rem - .5rem) / 2);
        z-index: 1000;
        width: .0533rem;
        height: .5rem;
        background-color: $bgColor;
    }

    span {
        color: #333;
    }
}
</style>